package com.springmvc;

import java.lang.reflect.Method;

/** 自定义请求方法信息 */
public class RequestMappingInfo {

    /** 方法请求路径 */
    private String url;

    /** 具体执行方法 */
    private Method method;

    /** 实例化bean */
    private Object bean;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Object getBean() {
        return bean;
    }

    public void setBean(Object bean) {
        this.bean = bean;
    }
}
